package com.sinping.qh.service.admin;

import com.sinping.qh.api.support.FrontPage;
import com.sinping.qh.api.support.ResDto;
import com.sinping.qh.dto.admin.DocumentDto;

import javax.servlet.http.HttpServletRequest;

public interface IDocumentService {

    /*
    * 添加文档
    * */
    ResDto addDocument(HttpServletRequest httpServletRequest, DocumentDto documentDto);

    /*
    * 删除文档
    * */
    ResDto deleteDocumentById(String id);

    /*
     * 获取文档详情
     * */
    ResDto getDocumentById(String id);

    /*
    * 获取文档分页列表
    * */
    ResDto getDocumentListFrontPage(FrontPage frontPage);

}
